07. Dash and Artificial Walking

05 L Dash And Artificial Walking V2

Note: The SteamVR plugin has been updated significantly since these videos were recorded. These updates include removing the scripts for SteamVR_TrackedObject, and SteamVR_Controller. To follow along with the next couple of lessons, you can download the version in the videos via this link.
SteamVR Plugin used in Lessons

Before typing in the code from this lesson, here is the variable section to help you with name completion:

    //Walking
    public Transform playerCam;
    public float moveSpeed = 4f;
    private Vector3 movementDirection;

Also note there is a crucial += missing in the video in the section on dashing, but you can hear Skye say it around at 1:22 minutes.

            lerpTime += Time.deltaTime * dashSpeed;